package com.bjsxt.userCenter.common.util;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

public class ConstantFinalUtil
{
	public static final Logger LOGGER = LogManager.getLogger(ConstantFinalUtil.class);
	public static JSONObject infoJSON = new JSONObject();
	public static JSONObject codeInfoJSON = new JSONObject();
	static
	{
		String result = FileUtil.getCodeInfo(ConstantFinalUtil.class.getClassLoader().getResourceAsStream("resourceCode.json"));
		infoJSON = (JSONObject) JSON.parse(result);
		codeInfoJSON = infoJSON.getJSONObject("info");
	}
	
}
